﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace D2.PathfinderHub.View.Controls
{

    public class DescriptiveTextBox : TextBox
    {
        static DescriptiveTextBox()
        {
            DefaultStyleKeyProperty.OverrideMetadata(typeof(DescriptiveTextBox), new FrameworkPropertyMetadata(typeof(DescriptiveTextBox)));
        }



        public string FieldName
        {
            get { return (string)GetValue(FieldNameProperty); }
            set { SetValue(FieldNameProperty, value); }
        }

        // Using a DependencyProperty as the backing store for FieldName.  This enables animation, styling, binding, etc...
        public static readonly DependencyProperty FieldNameProperty =
            DependencyProperty.Register("FieldName", typeof(string), typeof(DescriptiveTextBox), new UIPropertyMetadata(""));

        
    }
}
